package com.hyy.api.domain.customer.bo;

import com.hyy.api.domain.customer.CstmCustomerProviderChannel;
import com.hyy.common.mybatis.core.domain.BaseEntity;
import com.hyy.common.core.validate.AddGroup;
import com.hyy.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 客户供应商通道绑定业务对象 cstm_customer_provider_channel
 *
 * @author ruoyi
 * @date 2025-05-21
 */
@Data
@AutoMapper(target = CstmCustomerProviderChannel.class, reverseConvertGenerate = false)
public class CstmCustomerProviderChannelBo {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 供应商通道id
     */
    private Long providerChannelId;

    /**
     * 客户id
     */
    private Long customerId;

    /**
     * 权重
     */
    private Integer weight;

    /**
     * 状态
     */
    private Integer status;


}
